/**
 * 
 */
package co.edu.udistrital.analyzer.business.orm.vo;

import org.primefaces.model.StreamedContent;

import co.edu.udistrital.analyzer.newversion.DocumentSearchDto;

/**
 * @author Alejo
 *
 */
public class DocumentSearchDTO extends DocumentSearchDto {
    
	/**
	 * 
	 */
	private static final long serialVersionUID = 4617385503210011043L;
	/**
     * The file
     */
    private StreamedContent file;  

	/**
	 * 
	 */
	public DocumentSearchDTO(DocumentSearchDto document) {
		this.setIdDocument(document.getIdDocument());
		this.setNameDocument(document.getNameDocument());
	}

	/**
	 * @return Retorna el valor de file
	 */
	public StreamedContent getFile() {
		return file;
	}

	/**
	 * Asigna un nuevo valor afile
	 * 
	 * @param file Nuevo valor de file
	 */
	public void setFile(StreamedContent file) {
		this.file = file;
	}

}
